
const CONFIG = {
	// 表现结果
	expressiveOutcomes: {
		t1: '近30天售罄指标表现',
		t2: '售罄率越低表现越好',
		value: 92, // 0-60较差，60-80一般，80-90良好，90-100优秀
	},
	// 即将售罄SKU数&占比
	GDP1: {
		num: 0,
		bfb: '-',
		bfb1_1: '-', // 较昨日
		bfb1_2: 0.97, // 周同比
		addNum: 0, // 今日新增数量
		addBfb: '-', // 今日新增百分比
		bfb2_1: '-', // 较昨日
		bfb2_2: 0.97, // 周同比
		chat: {
			name: '近30天趋势图',
			xData: Tools.getTimesByLength(30), // 最近多少天的时间，就传几
			yDataBar: {
				name: '即将售罄数',
				// data: [30, 25, 27, 22, 22, 22, 45, 22, 22, 22, 37, 22, 22, 18, 32, 22, 22, 31, 26, 28, 35, 27, 22, 22, 22, 22, 22, 22, 22, 22]
				data: soldOutData.result.supplierSoldOutTrendResponse.soldOutTrendInfoList[2].soldOutTrendList.map(item => parseInt(item.value))
			},
			yDataLine: {
				name: '即将售罄占比',
				// data: [5, 6, 7, 8, 9, 10, 6, 8, 9, 7, 10, 8, 9, 7, 6, 4, 7, 6, 6, 4, 5, 6, 7, 8, 9, 7, 8, 6, 8, 6]
				data: soldOutData.result.supplierSoldOutTrendResponse.soldOutTrendInfoList[2].soldOutTrendList.map(item => parseInt(item.value))
			}
		}
	},
	// 已售罄SKU数&占比
	GDP2: {
		num: 0,
		bfb: '-',
		bfb1_1: '-', // 较昨日
		bfb1_2: 2.91, // 周同比
		addNum: 0, // 今日新增数量
		addBfb: '-', // 今日新增百分比
		bfb2_1: '-', // 较昨日
		bfb2_2: 1.94, // 周同比
		chat: {
			name: '近30天趋势图',
			xData: Tools.getTimesByLength(30), // 最近多少天的时间，就传几
			yDataBar: {
				name: '已售罄数',
				// data: [30, 25, 27, 22, 22, 22, 45, 22, 22, 22, 37, 22, 22, 18, 32, 22, 22, 31, 26, 28, 35, 27, 22, 22, 22, 22, 22, 22, 22, 22]
				data: soldOutData.result.supplierSoldOutTrendResponse.soldOutTrendInfoList[0].soldOutTrendList.map(item => parseInt(item.value))
			},
			yDataLine: {
				name: '已售罄占比',
				// data: [5, 6, 7, 8, 9, 10, 6, 8, 9, 7, 10, 8, 9, 7, 6, 4, 7, 6, 6, 4, 5, 6, 7, 8, 9, 7, 8, 6, 8, 6],
				data: soldOutData.result.supplierSoldOutTrendResponse.soldOutTrendInfoList[0].soldOutTrendList.map(item => parseInt(item.value))
			}
		}
	},
	// 预估近7天销售损失(CNY)&占比
	GDP3: {
		num: 1242.00,
		bfb: 7.77,
		chat: {
			name: '预估7天销售损失',
			xData: Tools.getTimesByLength(7), // 最近多少天的时间，就传几
			yDataBar: {
				name: '销售损失数',
				data: [30, 25, 27, 22, 22, 22, 45]
			},
			yDataLine: {
				name: '销售损失占比',
				data: [5, 6, 7, 8, 9, 10, 6]
			}
		}
	},
	// 表格数据配置
	tableData: [
		[
			{image: './static/image/img22.png', name: '女装修仙 皮革褶皱拼接 半裙', size: '大码半裙', SKC: '232434', SPU: '323243', SKCNO: 'HF-123123', day: '-'},
			[
				['SKC信息1', '30' , '20', '180', '10', '34', '250', '5' , '100', '5%', '5237', 'ID01291932', '无'],
				['SKC信息1', '30' , '20', '180', '10', '34', '250', '5' , '100', '5%', '5237', 'ID01291932', '无'],
				['SKC信息1', '30' , '20', '180', '10', '34', '250', '5' , '100', '5%', '5237', 'ID01291932', '无'],
				['SKC信息1', '30' , '20', '180', '10', '34', '250', '5' , '100', '5%', '5237', 'ID01291932', '无'],
			]
		],
		[
			{image: './static/image/img22.png', name: '女装修仙 皮革褶皱拼接 半裙', size: '大码半裙', SKC: '232434', SPU: '323243', SKCNO: 'HF-123123', day: '-'},
			[
				['SKC信息1', '30' , '20', '180', '10', '34', '250', '5' , '100', '5%', '5237', 'ID01291932', '无'],
				['SKC信息1', '30' , '20', '180', '10', '34', '250', '5' , '100', '5%', '5237', 'ID01291932', '无'],
				['SKC信息1', '30' , '20', '180', '10', '34', '250', '5' , '100', '5%', '5237', 'ID01291932', '无'],
				['SKC信息1', '30' , '20', '180', '10', '34', '250', '5' , '100', '5%', '5237', 'ID01291932', '无'],
			]
		],
	]
}